<?xml version="1.0" encoding="ISO-8859-1" ?>
<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
  
<!-- include moo talk header file -->
<%@ include file="MooTalkHeader.jsp" %>
<%@page import="com.webapp.model.Circle, java.util.List" %>
		<div id="site_content_text">
			<h2>Login</h2>
			<% 
				String x = request.getParameter("login"); 
				if(x != null) {
					if(x.equals("false")) {
						%>
							<p style="color:red;">
								Invalid Login!
							</p>
						<%
					}
					
					if(x.equals("logout")) {
						%>
							<p style="color:red;">
								Logout successful! Please have a great day!
							</p>
						<%
					}
					
					if(x.equals("reg")) {
						%>
							<p style="color:red;">
								Successful Registration! Login and Enjoy MOOTALK!
							</p>
						<%
					}
				}
			%>
			<form id="loginform" name="loginform" action="LoginMoo.do" method="post">
				<table>
					<tr>
						<td>Email: <br/> <input class="txtbox" type="text" name="loginEmail" /></td>
					</tr>
					
					<tr>
						<td>Password <br/> <input class="txtbox" type="password" name="loginPassword"/></td>
					</tr>
					
					<tr>
						<td><input class="btn" type="submit" value="Sign In" onclick=""/></td>
					</tr>
				</table>
			</form> 
		</div>
		
<!--  include moo talk footer file -->
<%@ include file="MooTalkFooter.jsp" %>